/**
 * Copyright (C), 2015-2020, bogewang
 * FileName: RpcConsumerController
 * Author:   foren236598164@aliyun.com
 * Date:     2020/5/12 16:03
 * Description:
 * History:
 * <author>          <time>          <version>          <desc>
 * 作者姓名           修改时间           版本号              描述
 */
package com.bogewang.controller;

import com.bogewang.api.SayHelloRpc;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 〈一句话功能简述〉
 * 〈〉
 *
 * @author foren236598164@aliyun.com
 * @create 2020/5/12
 * @since 1.0.0
 */
@RestController
public class RpcConsumerController {
    @Autowired
    SayHelloRpc sayHelloRpc;

    @GetMapping("/sayhellorpc")
    public String testSayHelloRpc(String name){
        return sayHelloRpc.sayHelloRpc(name);
    }

}
